import http from "@/utils/http.ts";

export const registerEmployeeAPI = (
  id: string,
  username: string,
  password:string,
  roles:string,
  status:number
) => {
  return http({
    url: "/api/v1/admin/register",
    method: "POST",
    data: {
      id,
      username,
      password,
      roles,
      status,
    },
  });
};
